x86/mmuext: tighten TLB flush address checks
authorJan Beulich <jbeulich@suse.com>
Thu, 21 Jan 2016 15:09:22 +0000 (16:09 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 21 Jan 2016 15:09:22 +0000 (16:09 +0100)
commit828e114f7cdd9910483783ab0563b178325e579a
tree2cb5f2d58f3dac2b5dcba7c7f704950cd7c25964
parent666aca08175bfee69aee6bc9542bb0c51fa6a8ae
x86/mmuext: tighten TLB flush address checks

Addresses passed by PV guests should be subjected to __addr_ok(),
avoiding undue TLB flushes.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/mm.c
xen/include/asm-x86/paging.h